package com.breez.shorturl.service;

import com.breez.shorturl.entity.ShortInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.breez.shorturl.entity.request.ShortInfoForm;
import com.breez.shorturl.entity.request.UrlSearchForm;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author BreezAm
 * @since 2021-12-13
 */
public interface IShortInfoService extends IService<ShortInfo> {

    List<ShortInfo> listByParams(UrlSearchForm urlSearchForm);


    boolean addShortInfo(ShortInfoForm shortInfoForm);

}
